package cn.boy.dao;

import cn.boy.domain.Dormitory;

public interface DormitoryDao {

	public abstract void add(Dormitory dorm);

	public abstract void delete(String no);

	/**
	 * 只更新分数
	 * @param dorm
	 */
	public abstract void update(Dormitory dorm);

	public abstract String queryAll();

	public abstract String query(String no);

	public abstract String queryByPrex(String prex);
	
	public abstract String queryByPrexAndDate(String prex, String date);
	
	public abstract String queryLatest(String no);
}